package com.xingceng.stock.service;

import com.xiceng.stock.dto.LoginDTO;
import com.xiceng.stock.entity.SysUser;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xiceng.stock.vo.CaptchaVO;
import com.xiceng.stock.vo.LoginVO;

/**
* @author ZYZ
* @description 针对表【sys_user(用户表)】的数据库操作Service
* @createDate 2025-11-07 14:39:26
*/
public interface SysUserService extends IService<SysUser> {

    CaptchaVO generateCaptcha();

    /**
     *  登录
     * @param dto 登录参数
     * @return LoginVO
     */
    LoginVO login(LoginDTO dto);
}
